package com.phone.modules.rms.dto;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.math.BigDecimal;
import java.util.Date;

/**
 * 商品查询参数
 * Created by wanghao.
 */
@Data
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="RmsChargeResultDTO筛选充电传输对象", description="用于返回条件筛选结果，查询充电排行")
public class RmsChargeResultDTO {

    @ApiModelProperty("品牌logo")
    private String logo;

    @ApiModelProperty("手机名称")
    private String productName;

    @ApiModelProperty(value = "发售日期")
    @JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd")
    private Date saleTime;

    @ApiModelProperty(value = "10分钟充入点亮百分比，单位：%")
    private Integer tenPower;

    @ApiModelProperty(value = "手机前台显示100%充电时间， 单位：min")
    private Integer uiTime;

    @ApiModelProperty(value = "手机玩完全充满时间， 单位：min")
    private Integer totalTime;

    @ApiModelProperty(value = "百分比参数")
    private Double per;
}
